import request from '@/utils/request'

// 查询web服务运行ip列表
export function listIpStatus(query) {
  return request({
    url: '/streaming/IpStatus/list',
    method: 'get',
    params: query
  })
}

// 查询web服务运行ip详细
export function getIpStatus(id) {
  return request({
    url: '/streaming/IpStatus/' + id,
    method: 'get'
  })
}

// 新增web服务运行ip
export function addIpStatus(data) {
  return request({
    url: '/streaming/IpStatus',
    method: 'post',
    data: data
  })
}

// 修改web服务运行ip
export function updateIpStatus(data) {
  return request({
    url: '/streaming/IpStatus',
    method: 'put',
    data: data
  })
}

// 删除web服务运行ip
export function delIpStatus(id) {
  return request({
    url: '/streaming/IpStatus/' + id,
    method: 'delete'
  })
}

// 导出web服务运行ip
export function exportIpStatus(query) {
  return request({
    url: '/streaming/IpStatus/export',
    method: 'get',
    params: query
  })
}